import request from '@/utils/request'

// 查询字典列表
export function listType(query) {
  return request({
    url: '/sysDic/list',
    method: 'post',
    data: query
    // params: query
  })
}

export function addDic(data){
    return request({
         url:'/sysDic/add',
         method:'post',
         data:data

    })
}
export function updateDic(data){
  return request({
     url:'/sysDic/update',
     method:'post',
     data:data
  })
}

export function deleteDic(data){
   return request({
       url:'/sysDic/delete',
       method:'post',
       data:data
   })
}
